package code;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.WindowConstants;
import javax.swing.SwingUtilities;
import code.Componente1;
import java.awt.BorderLayout;

/**
* This code was edited or generated using CloudGarden's Jigloo
* SWT/Swing GUI Builder, which is free for non-commercial
* use. If Jigloo is being used commercially (ie, by a corporation,
* company or business for any purpose whatever) then you
* should purchase a license for each developer using Jigloo.
* Please visit www.cloudgarden.com for details.
* Use of Jigloo implies acceptance of these licensing terms.
* A COMMERCIAL LICENSE HAS NOT BEEN PURCHASED FOR
* THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED
* LEGALLY FOR ANY CORPORATE OR COMMERCIAL PURPOSE.
*/
public class MainClass extends javax.swing.JFrame {

	public static void main(String args[]) throws Exception {

		JFrame frm = new JFrame();
		frm.setSize(1000, 2000);
		frm.setTitle("Cronometro");
		frm.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
		
		JPanel pnlPrincipal = new JPanel();
		frm.getContentPane().add(pnlPrincipal, "Center");
		pnlPrincipal.setLayout(null);
		pnlPrincipal.setBackground(new java.awt.Color(255,255,255));
		pnlPrincipal.setSize(400, 300);
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		/*
		SwingUtilities.invokeLater(new Runnable() {
			public void run() {
				MainClass inst = new MainClass();
				inst.setLocationRelativeTo(null);
				inst.setVisible(true);
			}
		});
	}
	
	public MainClass() {
		super();
		initGUI();
	}
	
	private void initGUI() {
		try {
			setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
			getContentPane().setLayout(null);
			pack();
			setSize(400, 300);
		} catch (Exception e) {
		    //add your error handling code here
			e.printStackTrace();
		}
		*/
	}
	
	

}
